﻿@model CMS2.Models.LogOnModel

@{
    ViewBag.Title = "Log On";
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>Login</title>


    <link href="@Url.Content("~/Content/login.css")" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Cuprum" />

    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

</head>

<body>



@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")


 <section id="form">
@using (Html.BeginForm("LogOn", "Account", FormMethod.Post, new { id = "form-login" }))
{
    <div>
        
            <div id="content-header">

				  <p id="logo">CMS Login</p>
                  <p>To log into the CMS , type your password and log in.</p>
             </div> 

            <div class="editor-label">
                @Html.LabelFor(m => m.UserName)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.UserName)
                @Html.ValidationMessageFor(m => m.UserName)
            </div>

            <div class="editor-label">
                @Html.LabelFor(m => m.Password)
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.Password)
                @Html.ValidationMessageFor(m => m.Password)
            </div>

            <div class="editor-label">
                @Html.CheckBoxFor(m => m.RememberMe)
                @Html.LabelFor(m => m.RememberMe)
            </div>

            <p>
                <input type="submit" value="Log On" />
            </p>
       
    </div>
}</section>
</body>
</html>
